<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head locale="es" jqueryui="true" jquerytheme="cupertino" />
<sx:head parseContent="false" />
<link rel="stylesheet" type="text/css" href="estilo/style.css" />

<script language="JavaScript" src="/sia_corp/struts/utils.js" type="text/javascript"></script>
<script language="JavaScript" src="/sia_corp/struts/xhtml/validation.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">	
   function maximizar() 
   { 
		self.moveTo(0,0); 
		self.resizeTo(screen.availWidth,screen.availHeight); 
	} 
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sia Movilmax - Gestionar prospectos...</title>
</head>
<body onload="maximizar()">
<div class='logo_sia'><img src="images/logo.png" /></div>
<div id='resultado_gdprincipal' align='center'>
<div class="barra_tit_corp" align='center'>Gestionar Prospecto </div>
<s:actionerror theme="jquery" />
<table width="100%" height="100%">
	<tr>
		<td>
		    <s:set name="valx" ><s:property value="auto_v" /></s:set>
		    <s:set name="cod_prosp" ><s:property value="prospecto.codigo" /></s:set>
		    <s:if test="%{#valx=='SI'}">
		        <s:url id="car_1" value="listar_prospectos.action"  escapeAmp ="false" >
		            <s:param name="auto_v" value="%{valx}" />
		            <s:param name="prospecto.codigo" value="%{cod_prosp}" />
		        </s:url> 
		    </s:if> 
		    <s:else>
		        <s:url id="car_1" value="listar_prospectos.action" /> 
		    </s:else>	
		    <sj:div href="%{car_1}" indicator="indicatorc">
			    <img id="indicatorc" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" />
		    </sj:div>
		</td>
	</tr>
</table>
</div>
</body>
</html>